package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;

import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("sy_ticket_duration_cards")
@ApiModel("时长卡/次卡/代金券实体")
public class SyTicketDurationCard extends AbdulBaseEntity {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Integer id;

    @ApiModelProperty("名称")
    private String title;

    @ApiModelProperty("单价")
    private BigDecimal unitPrice;

    @ApiModelProperty("实际收入")
    private BigDecimal actualIncome;

    @ApiModelProperty("销售数量")
    private Integer salesCount;

    @ApiModelProperty("退款总金额")
    private BigDecimal refundAmount;

    @ApiModelProperty("是否使用 (0-未使用 1-已使用)")
    private Integer isUsage;

    @ApiModelProperty("类型 (0-桌台时长卡 1-桌台次卡 2-商品次卡 3-代金券)")//TicketTypeEnum
    private Integer isType;

    @ApiModelProperty("会员ID")
    private Long memberId;
}
